package com.eportal.core;

public class Bill {
	private String bill_length;
	private String bill_head;
	private String bill_send_type;
	private String bill_type;
	private String bill_termid;
	private String bill_send_date;
	private String bill_stan;
	private String bill_org;
	private String bill_send_time;
	private String bill_timeout;
	private String bill_phone;
	private String bill_tercode;
	private String bill_mercode;
	private String bill_amt;
	private String bill_incdno;
	private String bill_msg_len;
	private String bill_msg;
	private String bill_ydm;
	private String bill_sign_len;
	private String bill_sign;
	
		
	public String getBill_send_type() {
		return bill_send_type;
	}


	public void setBill_send_type(String billSendType) {
		bill_send_type = billSendType;
	}


	public String getBill_length() {
		return bill_length;
	}


	public void setBill_length(String billLength) {
		bill_length = Util.addZero(billLength,4);
	}


	public String getBill_head() {
		return bill_head;
	}


	public void setBill_head(String billHead) {
		bill_head = billHead;
	}


	public String getBill_type() {
		return bill_type;
	}


	public void setBill_type(String billType) {
		bill_type = billType;
	}


	public String getBill_termid() {
		return bill_termid;
	}


	public void setBill_termid(String billTermid) {
		bill_termid = Util.addSpace(billTermid, 25);
	}


	public String getBill_send_date() {
		return bill_send_date;
	}


	public void setBill_send_date(String billSendDate) {
		bill_send_date = billSendDate;
	}


	public String getBill_stan() {
		return bill_stan;
	}


	public void setBill_stan(String billStan) {
		bill_stan = billStan;
	}


	public String getBill_org() {
		return bill_org;
	}


	public void setBill_org(String billOrg) {
		bill_org = Util.addSpace(billOrg,11);
	}


	public String getBill_send_time() {
		return bill_send_time;
	}


	public void setBill_send_time(String billSendTime) {
		bill_send_time = billSendTime;
	}


	public String getBill_timeout() {
		return bill_timeout;
	}


	public void setBill_timeout(String billTimeout) {
		bill_timeout = billTimeout;
	}


	public String getBill_phone() {
		return bill_phone;
	}


	public void setBill_phone(String billPhone) {
		bill_phone = billPhone;
	}


	public String getBill_tercode() {
		return bill_tercode;
	}


	public void setBill_tercode(String billTercode) {
		bill_tercode = billTercode;
	}


	public String getBill_mercode() {
		return bill_mercode;
	}


	public void setBill_mercode(String billMercode) {
		bill_mercode = billMercode;
	}


	public String getBill_amt() {
		return bill_amt;
	}


	public void setBill_amt(String billAmt) {
		bill_amt = billAmt;
	}


	public String getBill_incdno() {
		return bill_incdno;
	}


	public void setBill_incdno(String billIncdno) {
		bill_incdno = Util.addSpace(billIncdno,19);
	}


	public String getBill_msg_len() {
		return bill_msg_len;
	}


	public void setBill_msg_len(String billMsgLen) {
		bill_msg_len = Util.addZero(billMsgLen,3);
	}


	public String getBill_msg() {
		return bill_msg;
	}


	public void setBill_msg(String billMsg) {
		bill_msg = billMsg;
	}


	public String getBill_ydm() {
		return bill_ydm;
	}


	public void setBill_ydm(String billYdm) {
		bill_ydm = billYdm;
	}


	public String getBill_sign_len() {
		return bill_sign_len;
	}


	public void setBill_sign_len(String billSignLen) {
		bill_sign_len = billSignLen;
	}


	public String getBill_sign() {
		return bill_sign;
	}


	public void setBill_sign(String billSign) {
		bill_sign = billSign;
	}
	
	public String billBody(){
		String str = "";
		str += bill_head;
		str += bill_send_type;
		str += bill_type;
		str += bill_termid;
		str += bill_send_date;
		str += bill_stan;
		str += bill_org;
		str += bill_send_time;
		str += bill_timeout;
		str += bill_phone;
		str += bill_tercode;
		str += bill_mercode;
		str += bill_amt;
		str += bill_incdno;
		str += bill_msg_len;
		str += bill_msg;
		str += bill_sign_len;
		return str;
	}


	public String toString(){
		String str = "";
		str += bill_length;
		str += bill_head;
		str += bill_send_type;
		str += bill_type;
		str += bill_termid;
		str += bill_send_date;
		str += bill_stan;
		str += bill_org;
		str += bill_send_time;
		str += bill_timeout;
		str += bill_phone;
		str += bill_tercode;
		str += bill_mercode;
		str += bill_amt;
		str += bill_incdno;
		str += bill_msg_len;
		str += bill_msg;
		str += bill_sign_len;
		return str;
	}
}
